package cn.dragon.eatingfish;

import java.awt.event.MouseAdapter;
import java.awt.event.MouseEvent;

public class MouseAdp extends MouseAdapter {
    public static int x;
    public static int y;

    @Override
    public void mouseClicked(MouseEvent e) {
        System.out.println("鼠标点击事件");
    }

    @Override
    public void mouseMoved(MouseEvent e) {
        x = e.getX() - 9;
        y = e.getY() - 38;
    }


}
